package com.robinmouren.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.robinmouren.dto.QuotationPageDto;
import com.robinmouren.entity.ClientContract;
import com.robinmouren.vo.ClientContractPageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Wrapper;
import java.util.List;

/**
 * <p>
 * 客户合同表 Mapper 接口
 * </p>
 *
 * @author Robinmouren
 * @since 2024-05-24
 */
@Mapper
public interface ClientContractMapper extends BaseMapper<ClientContract> {

    /**
     * 客户合同连表查询
     * @param page
     * @param dto
     * @return
     */
    Page<ClientContractPageVo> clientContractPage
        (Page<ClientContract> page, @Param("dto") QuotationPageDto dto);


}
